import {createStore,applyMiddleware,combineReducers} from "redux"
import thunk from "redux-thunk"   // 处理异步得中间件
import logger from "redux-logger" //  打日志的中间件
import ShopReduer from "./shopReducer"
let reducer = combineReducers({
    ShopReduer
})
export default createStore(reducer,applyMiddleware(thunk,logger))